package com.example.mdemo.eventbus;

import android.support.v4.view.ViewPager;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.Menu;
import android.view.MenuItem;
import android.widget.Button;

import com.example.mdemo.R;

public class EventBusActivity extends AppCompatActivity {

    private Button button;
    private ViewPager vp;
    private String b;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_event_bus);
        initView();
    }

    private void initView() {
        button = (Button) findViewById(R.id.btn);
        vp = (ViewPager) findViewById(R.id.vp);

    }
}
